<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
  <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
  <!--[if IE 7]>
    <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
  <![endif]-->
  <link rel="stylesheet" href="assets/css/jquery-ui-1.10.3.full.min.css">
  <link rel="stylesheet" href="assets/css/ace.min.css" />
  <link rel="stylesheet" href="css/style.css"/>
<title>法规目录</title>
</head>

<body>
<div class="page-content">
<!--菜单管理-->

<div class="Menu_Manager">
 <div class="add_menu">
  <div id="Adding_menu" style="display:none">
  <div class="page-content">
     <table cellpadding="0" cellspacing="0" width="100%">
      <tr><td class="label_name">菜单名称</td><td><input name="菜单名称" type="text"  class="addtext"  value="询价管理" style="width:300px"/></td></tr>
      <tr><td class="label_name">是否显示</td><td>
          <div class="radio "><label><input name="form-field-radio" type="radio" class="ace" checked="checked" /><span class="lbl">是</span></label></div>
          <div class="radio "><label><input name="form-field-radio" type="radio" class="ace" /><span class="lbl">否</span></label></div></td></tr>

      <tr><td class="label_name">URL地址</td><td><input name="URL地址" type="text"  class="" value="http://user/待确认订单.html" readonly="true" style="width:300px"/></td></tr>
     </table>
    </div>
 </div>
 </div>
 <div class="Menu Manager_style">
  <span class="title_name" th:text="${laws.partNumAlias}">法规目录</span>

  <span>版本及下载</span>
<form action="/www" method="post">
  <div class="table_menu_list">
   <table id="Menu_list" cellpadding="0" cellspacing="0" class="table table-striped table-bordered table-hover">
    <thead>
     <tr>
     <th>法规目录</th>
     </tr>
    </thead>
    <tbody>
     <tr th:each="li:${pageInfo.list}">
      <td class="atxt_name">
          <div class="list">
      <ul class="yiji" >
       <li><span style="color: red" th:if="${!li.branch.isEmpty()}">*</span><span style="color: red" th:if="${li.branch.isEmpty()}">&nbsp;</span><a href="###" style="color: black"  th:text="${li.directoryName}" class="inactive" ></a>
        <ul style="display: none" th:each="a:${li.branch}">
         <li><span style="color: red" th:if="${!a.menus.isEmpty()}">*</span><span style="color: red" th:if="${a.menus.isEmpty()}">&nbsp;</span><a href="###" style="color: black" th:text="${a.branchName}"  class="inactive active"></a>
          <ul th:each="b:${a.menus}">
           <li><a th:href="@{/rrr(id=${li.id},ids=${b.id},lawsId=${laws.id})}" th:text="${b.menuName}" style="color: black"></a>
          </ul>
         </li>
        </ul>
       </li>
      </ul>
          </div>
     </td>

     </tr>
    </tbody>
   </table>
  </div>
</form>
 </div>
</div>
</div>
	<script src="assets/js/jquery.min.js"></script>

		<!-- <![endif]-->


		<!--[if !IE]> -->


		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->


	<script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/layer/layer.js" type="text/javascript"></script>
<script>

    $(document).ready(function () {
        $('.inactive').click(function () {
            if ($(this).siblings('ul').css('display') == 'none') {
                $(this).siblings('ul').slideDown(100).children('li');
            } else {
                $(this).siblings('ul').slideUp(100);

            }
        })
    });
</script>
</body>
</html>
